package org.sn.jdish.example.time;

import java.util.Date;

public class Test1 {

	public static void main(String[] args) {
		Date before = new Date("2017/6/23 00:00:00");
		Date after = new Date("2017/6/23 15:00:00");
		double beforeTime = before.getTime();
		double afterTime = after.getTime();
		System.out.println((afterTime - beforeTime) / (1000 * 60 * 60 * 24));
	}

}
